#!/usr/bin/python3

str = "8*y*cali*china**it*soft*linx*python"
arr = str.split('*')
stars = len(arr)-1

result = '*' * stars + ''.join(arr)
print(result)

